<%--
  Created by IntelliJ IDEA.
  User: 吴超
  Date: 2022/4/15
  Time: 15:05
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
<%
   /* Integer count = Integer.parseInt((String) application.getAttribute("count"));
    if(count==null){
        count=1;
    }else{
        count++;
    }
    application.setAttribute("count",count);*/
    Integer count = (Integer) application.getAttribute("count");
    if(count != null) {
        count = count + 1;
    } else {
        count = 1;
    }
    application.setAttribute("count",count);


%>
<%="您好，恭喜您，您是第"+(Integer)application.getAttribute("count")+"位访问本站的成员"%>
</body>
</html>
